//
//  AddressViewController.h
//  ChatDemo-UI2.0
//
//  Created by 小热狗 on 15/7/10.
//  Copyright (c) 2015年 小热狗. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"

@protocol contactDelegate <NSObject>

-(void)selectName:(NSString *)name telephone:(NSString *)tele tag:(long)tag;

@end

@interface AddressViewController : BaseViewController<UITableViewDataSource,UITableViewDelegate,UISearchDisplayDelegate,UISearchBarDelegate>
typedef void(^contactsBlock)(NSString *str);
@property(nonatomic,retain)id <contactDelegate> delegate;
@property(nonatomic,strong)UITableView *myTableView;
@property(nonatomic,strong)NSMutableArray *dataArray;
@property(nonatomic,strong)NSMutableArray *nameArray;
@property(nonatomic,strong)NSMutableArray *tXLARy;

@property(nonatomic,strong)NSMutableArray *phoneArray;

@property(nonatomic,assign)long type;  //10 手机充值
@property(nonatomic,copy)contactsBlock block;

@end
